<%@ include file = "/common/ini.jsp"%> 
<%@ include file = "/common/_log4j.jsp"%>
<%@ include file = "/common/_ApplicationContext_init.jsp"%> 
<%

    TeachResourceManager teachResourceManager = (TeachResourceManager)applicationContext.getBean("teachResourceManager");
    TeachResource tr = (TeachResource)teachResourceManager.get(request.getParameter("id"));
    String trId = tr.getId();
    String trTitle = tr.getTitle();
    String standard = tr.getStandard();
    String elecText = tr.getElecText();
    String classicQuest = tr.getClassicQuest();
    String teachDesign = tr.getTeachDesign();
    String courseWare = tr.getCourseWare();
    String video = tr.getVideo();
    String backGround = tr.getBackGround();
    String others = tr.getOthers();
    String authorName = tr.getAuthorName();
%>
                <table width="100%" height="100%">
                    <tr id="fck0inst" style="display:">
                        <td align="left" valign="top">
                            <%= standard%>
                        </td>
                    </tr>
                    <tr id="fck1inst" style="display:none">
                        <td align="left" valign="top">
                            <%= elecText%>
                        </td>
                    </tr>
                    <tr id="fck2inst" style="display:none">
                        <td align="left" valign="top">
                            <%= classicQuest%>
                        </td>
                    </tr>
                    <tr id="fck3inst" style="display:none">
                        <td align="left" valign="top">
                            <%= teachDesign%>
                        </td>
                    </tr>
                    <tr id="fck4inst" style="display:none">
                        <td align="left" valign="top">
                            <%= courseWare%>
                        </td>
                    </tr>
                    <tr id="fck5inst" style="display:none">
                        <td align="left" valign="top">
                            <%= video%>
                        </td>
                    </tr>
                    <tr id="fck6inst" style="display:none">
                        <td align="left" valign="top">
                            <%= backGround%>
                        </td>
                    </tr>
                    <tr id="fck7inst" style="display:none">
                        <td align="left" valign="top">
                            <%= others%>
                        </td>
                    </tr>
                    <tr id="fck8inst" style="display:none" >
                        <td align="left" valign="top">
                            <table width="100%" >
                                <tr>
                                    <td><span id="testSpan"></span></td>
                                </tr>
                                <tr>
                                    <td height="20" valign="bottom"><input type="button" id="showRsButton" onclick="showRs();this.disabled = true;" value="答题完毕,我想看看答案">&nbsp;&nbsp;&nbsp;&nbsp;<input type="button" id="tryButton" onclick="$('showRsButton').disabled = false;nextTest('<%= tr.getKnowledgePoint().getId()%>');" value="我再试试"></td>
                                </tr>
                            </table>
                        </td>
                    </tr>
                </table>
                <script>
                    nextTest('<%= tr.getKnowledgePoint().getId()%>');
                </script>